package com.peng.mapper;

import com.peng.pojo.Account;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface AccountMapper {
    @Select("select * from tb_account where user_id = #{userId}")
    Account selectAccountById(int userId);
}
